package com.atlbb.mybatis.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.lang.Nullable;

import java.util.Date;

/**
 * @author LiangQingBin
 * @version 1.00
 * @ClassName Goods
 * @Description TODO
 * @time 2021/12/5 15:22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Goods {
    private long g_id;
    private String g_name;
    private int g_price;
    private int g_count;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date g_prodate = null;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date g_expdate = null;
    private String g_describe;
    private  String g_type;

}
